<?php

namespace app\validate;

use core\validate\ValidateBase;

class SiteAdmin extends ValidateBase
{
    protected $rule =   [
        'uid'    => 'require|number',
        'siteid' => 'require|number',
    ];

    protected $message  =   [
        'uid.require'    => '用户必填',
        'siteid.require' => '站点必填',
        'uid.number'     => '用户必填',
        'siteid.number'  => '站点必填',
    ];
}
